package com.chixing.day03.day03_Test;

public class PersonTest {
    public static void main(String[] args) {
        Person p1 = new Person();
        p1.setPerName("John");
        p1.setPerAge(28);
        p1.setPerGender('男');
        p1.setPerMarry(false);

        Person p2 = new Person();
        p2.setPerName("Marry");
        p2.setPerAge(26);
        p2.setPerGender('女');
        p2.setPerMarry(false);

        p1.marry(p2);

    }
}
